package com.cyh.testdesignpattern.strategy;

import android.util.Log;

//玩具鸭
public class ToyDuck extends Duck {
    public ToyDuck() {
        flyBehavior = new NoFlyBehavior();
        quackBehavior = new NoQuackBehavior();
    }

    @Override
    public void display() {
        Log.i("ToyDuck", "这是玩具鸭");
    }

}
